<template>
  <div class="csh5" style="font-size:20px">
    {{listLength}}
  </div>
</template>

<script>
import axios from "axios";
export default {
  name: "csh5",
  data() {
    return {
      listLength: 0
    };
  },
  methods: {},
  mounted() {
    axios({
      url: "https://sit-wage.zhinengjianshe.com/wageApi/v1/document/query",
      method: "post",
      headers: {
        Authorization: "dea84f30-4d18-48c3-9acb-f989aeee8450"
      },
      data:
        {
          likeName: "",
          orgId: "c63d79d2b4a94d98bfe636e0ed1c47c3",
          page: 1,
          size: 10
        }

    }).then(res => {
      console.log(res.data.data);
      this.listLength = res.data.data.length;
    });
  }
};
</script>

<style lang="scss" scoped></style>
